<?php
/**
 * Created by PhpStorm.
 * User: xuke
 * Date: 16/7/14
 * Time: 下午3:05
 */

namespace App\Http\Model;


class Roles extends Base
{
    protected $primaryKey = 'role_id';
    public $timestamps = false;
    
    
    public function nodes()
    {
        return $this->belongsToMany(Nodes::class, 'role_node');
    }
}